package zhongbo.java.air.flightpath.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("飞行轨迹")
@TableName("air_flight_path")
@Data
public class FlightPath {

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty("航迹id")
    private String id;

    @ApiModelProperty("关联飞机ICAO码")
    private String icaoCode;

    @ApiModelProperty("时间戳")
    private Date timestamp;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("海拔高度")
    private Integer altitude;

    @ApiModelProperty("地速")
    private Integer speed;

    @ApiModelProperty("航向角")
    private Integer heading;

    @ApiModelProperty("数据源类型")
    private String sourceType;
}
